<!doctype html>
<html>
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>{$meta_title}|{:L('_MUUCMF_BACKSTAGE_MANAGE_')}</title>
    <link href="__ROOT__/Public/favicon.ico" type="image/x-icon" rel="shortcut icon">
    <!--zui-->
    <link rel="stylesheet" type="text/css" href="__ZUI__/css/zui.min.css" media="all">
        <link rel="stylesheet" type="text/css" href="__ZUI__/css/zui-theme.css" media="all">
    <link rel="stylesheet" type="text/css" href="__CSS__/admin.css" media="all">
    <link rel="stylesheet" type="text/css" href="__CSS__/ext.css" media="all">
    <!--zui end-->
    <link rel="stylesheet" type="text/css" href="__CSS__/module.css">
    <link rel="stylesheet" type="text/css" href="__CSS__/style.css" media="all">
    <link href="__ZUI__/lib/chosen/chosen.css" type="text/css" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="__JS__/kanban/kanban.css" media="all">
    <script type="text/javascript" src="__PUBLIC__/lib/jquery-2.1.1/jquery.min.js"></script>
    <script type="text/javascript" src="__JS__/jquery.mousewheel.js"></script>

    <block name="style"></block>
</head>
<body>
<header class="panel-header">
    <nav class="navbar navbar-inverse admin-bar" role="navigation">
        <div class="navbar-header">
            <a href="{:U('Index/index')}" class="navbar-brand">Muu</a>
        </div>
        <div class="collapse navbar-collapse navbar-collapse-example">
            <ul id="nav_bar" class="nav navbar-nav">
                <volist name="__MENU__.main" id="menu">
                    <neq name="menu.hide" value="1">
                        <li data-id="{$menu.id}" class="{$menu.class|default=''}"><a href="{$menu.url|U}">
                            <neq name="menu.icon" value=""><i class="icon-{$menu.icon}"></i>&nbsp; </neq>
                            {$menu.title}</a></li>
                    </neq>
                </volist>
            </ul>
            <ul class="nav navbar-nav navbar-right">
                <li><a href="javascript:;" data-id="clear_cache" data-msg="{:L('_CACHE_CLEAR_SUCCESS_')}{:L('_PERIOD_')}"><i class="icon-trash"></i> {:L('_CACHE_CLEAR_')}</a></li>
                <li><a target="_blank" href="{:U('Home/Index/index')}"><i class="icon-copy"></i> {:L('_FORESTAGE_OPEN_')}</a></li>
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="icon-user"></i>
                        {:session('user_auth.username')} <b
                                class="caret"></b></a>
                    <ul class="dropdown-menu" role="menu">
                        <li><a href="{:U('User/updatePassword')}">{:L('_PASSWORD_CHANGE_')}</a></li>
                        <li><a href="{:U('User/updateNickname')}">{:L('_NICKNAME_CHANGE_')}</a></li>
                        <li class="divider"></li>
                        <li><a href="{:U('Public/logout')}">{:L('_EXIT_')}</a></li>
                    </ul>
                </li>
            </ul>
        </div>
    </nav>
</header>

<nav class="panel-menu" data-value="muu_menu_show" <if condition="$navclose eq 1">style="width:52.5469px;"</if>>
	<div class="sidebar-title">
        <div class="sidebar-closebtn">
        <a id="closeMenu" href="#" title="收起菜单" class="">
            <span class="nav-icon">
                <if condition="$navclose eq 1">
                    <i class="icon icon-long-arrow-right"></i>
                <else/>
                    <i class="icon icon-long-arrow-left"></i>
                </if>
            </span>
            <span class="nav-text" <if condition="$navclose eq 1">style="display:none;"</if>>收起</span>
        </a>
        </div>
		<div class="sidebar-title-inner">
			<a  href="{:U('Module/lists')}" title="{:L('_MODULE_MENU_')}" class="panel-menu-a" data-toggle="tooltip" data-placement="right" data-container="body">
				<span class="nav-icon"><i class="icon icon-caret-down"></i></span>
				<span class="nav-text" <if condition="$navclose eq 1">style="display:none;"</if>>{:L('_MODULE_MENU_')}</span>
			</a>
		</div>
	</div>
    <ul class="nav nav-primary nav-stacked">
        <volist name="__MODULE_MENU__" id="v">
            <if condition="$v['is_setup'] AND $v['admin_entry']">
                <li>
                    <a  href="{:U($v['admin_entry'])}" title="{$v.alias|text}" data-name="{$v.name}" data-toggle="tooltip" data-placement="right" data-container="body" data-tip-class="tooltip-danger">
                        <span class="nav-icon"><i class="icon-{$v['icon']}"></i></span> 
                        <span class="nav-text" <if condition="$navclose eq 1">style="display:none;"</if>>{$v.alias}</span>
                    </a>
                </li>
            </if>
        </volist>
    </ul>
</nav>

<div class="panel-main" <if condition="$navclose eq 1">style="left:52.5469px;"</if>>
    <div class="">
    <div class="clearfix">
        <notempty name="__MENU__.child">
            <div class="sub_menu_wrapper">
                <nav id="sub_menu" class="menu" data-toggle="menu">
                    <ul class="nav nav-primary">
                        <block name="sidebar">
                            <!--     <notempty name="_extra_menu">
                                     {// 动态扩展菜单 //}
                                     {:extra_menu($_extra_menu,$__MENU__)}
                                 </notempty>-->
                            <volist name="__MENU__.child" id="sub_menu">
                                <!-- {:L("_SUB_NAVIGATION_")}-->
                                <notempty name="sub_menu">
                                    <li class="show">
                                        <a href="#">
                                            <notempty name="key">{$key}</notempty>
                                        </a>
                                        <ul class="nav">
                                            <volist name="sub_menu" id="menu">
                                                <li>
                                                    <a href="{$menu.url|U}">{$menu.title}</a>
                                                </li>
                                            </volist>
                                        </ul>
                                    </li>
                                </notempty>
                                <!-- /{:L("_SUB_NAVIGATION_")}-->
                            </volist>

                        </block>

                    </ul>
                </nav>
            </div>
        <else />
            <div class="sub_menu_wrapper"></div>
        </notempty>

        <notempty name="__MENU__.child">
            <php>$col=10;</php>
            <else/>
            <php>$col=12;</php>
        </notempty>
        <div id="main-content" class="admin-content">
            <div id="main" style="overflow-y:auto;overflow-x:hidden;">
                <block name="nav">
                    <!-- nav -->
                    <notempty name="_show_nav">
                        <div class="breadcrumb">
                            <span>{:L('_YOUR_POSITION_')}{:L('_COLON_')}</span>
                            <assign name="i" value="1"/>
                            <foreach name="_nav" item="v" key="k">
                                <if condition="$i eq count($_nav)">
                                    <span>{$v}</span>
                                    <else/>
                                    <span><a href="{$k}">{$v}</a>&gt;</span>
                                </if>
                                <assign name="i" value="$i+1"/>
                            </foreach>
                        </div>
                    </notempty>
                    <!-- nav -->
                </block>
                <div class="admin-main-container">
                    <block name="body"></block>
                </div>

            </div>
        </div>
    </div>
    </div>
</div>
<input data-toggle="location_href" value="{:U('Admin'.'/'.CONTROLLER_NAME.'/'.ACTION_NAME,$_GET)}" type="hidden" />
<input data-toggle="can_update" value="{$can_update}" type="hidden" />
<input data-toggle="version" value="{$version}" type="hidden" />
<script type="text/javascript">
    (function () {
        var ThinkPHP = window.Think = {
            "ROOT": "__ROOT__", //当前网站地址
            "APP": "__APP__", //当前项目地址
            "PUBLIC": "__PUBLIC__", //项目公共目录地址
            "DEEP": "{:C('URL_PATHINFO_DEPR')}", //PATHINFO分割符
            "MODEL": ["{:C('URL_MODEL')}", "{:C('URL_CASE_INSENSITIVE')}", "{:C('URL_HTML_SUFFIX')}"],
            "VAR": ["{:C('VAR_MODULE')}", "{:C('VAR_CONTROLLER')}", "{:C('VAR_ACTION')}"],
            'URL_MODEL': "{:C('URL_MODEL')}"
        }
    })();
</script>
<script type="text/javascript" src="__JS__/think.js"></script>
<!--zui-->
<script type="text/javascript" src="__ZUI__/js/zui.min.js"></script>
<!--zui end-->
<script src="__ZUI__/lib/chosen/chosen.js"></script>
<script type="text/javascript" src="__JS__/com/com.toast.class.js"></script>
<script type="text/javascript" src="__ZUI__/lib/migrate/migrate1.2.js"></script>
<script type="text/javascript" src="__JS__/kanban/kanban.js"></script>
<script type="text/javascript" src="__JS__/common.js"></script>
<block name="script">
</block>
<block name="modal">
</block>
</body>
</html>
